﻿using Orchard.ContentManagement;
using Orchard.Environment.Extensions;

namespace LoadIn.Maps.Bing.Models
{
    [OrchardFeature("LoadIn.Maps.Bing")]
    public class BingMapsSettingsPart : ContentPart<BingMapsSettingsPartRecord>
    {
        public string ApiKey
        {
            get { return Record.ApiKey; }
            set { Record.ApiKey = value; }
        }

        public string Mode
        {
            get { return Record.Mode; }
            set
            {
                Record.Mode = value;
            }
        }
    }
}